#ifndef PHYSICSOBJECT_H
#define PHYSICSOBJECT_H

#include <GameGlobals.h>

struct Transform;
struct GraphicData;
class BaseObject;

struct PhysicsObject
{
	PhysicsObject(BaseObject* b, Transform* t, std::vector<vec2> boundingBox, b2BodyType bodytype = b2_dynamicBody);
	~PhysicsObject();
	void CreateBoundingBox(float scale);
	std::vector<vec2> bbox;
	Transform* const transform;
	b2BodyDef bodyDef;
	b2Body* body;
	b2PolygonShape shape;
	b2FixtureDef fixtureDef;
	b2Fixture* bodyFixture;
};

#endif